﻿/*******************************************************************************
 
 * Author: Dealin
 
 
*********************************************************************************/
using Dealin.Application.DeviceManage;
using Dealin.Code;
using Dealin.Domain.Entity.DeviceManage;
using System.Web.Mvc;
namespace Dealin.Web.Areas.WarningManage.Controllers
{
    public class BreaksController : ControllerBase
    {
        private MeterApp app = new MeterApp();
        
        [HttpGet]
        [HandlerAjaxOnly]
        public ActionResult GetGridJson(string keyword)
        {
            var data = app.GetListOffLine(keyword);
            return Content(data.ToJson());
        }
        
    }
}
